﻿
using System;

using Framework.IOC;
using YouTravel.DomainService;


namespace Application.WebAPI
{
    /// <summary>
    /// Startup
    /// </summary>
    public  class Startup
    {
        /// <summary>
        /// 动态加载配置方法
        /// </summary>
        public void Configuration()
        {
            ServiceLocator.Regist(container =>
            {
                container.RegisterType(typeof(IUserService), typeof(UserService));
                container.RegisterType(typeof(IBranchService), typeof(BranchService));

            });
        }
    }
}